﻿using System;
using System.Net;
using System.Runtime.Serialization;

namespace Airport
{
    [Serializable]
    [DataContract]
    public class Gate : Surface
    {
        private int _gateId;

        public Gate()
            : base()
        {
        }

        [DataMember]
        public int GateId
        {
            get
            {
                return _gateId;
            }

            set
            {
                if (_gateId != value)
                {
                    _gateId = value;
                }
            }
        }
    }
}
